package com.yu.mall.vo.order;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

@Data
@ApiModel
public class OrderVO {

    @ApiModelProperty(value="订单编号")
    private String orderNo;

    @ApiModelProperty(value="京东订单编号")
    private String jdOrderNo;

    @ApiModelProperty(value="订单总价格")
    private BigDecimal orderPriceTotal;

    @ApiModelProperty(value="订单状态（1 待付款，2 待收货，3 已完成 4 已取消）")
    private String status;

    @ApiModelProperty(value="订单总件数")
    private Integer totalNum;

    @ApiModelProperty(value="订单创建时间")
    private Date createTime;

    private List<OrderItemVO> orderItems;
}
